<template>
  <div>
    <h2>你输入的地址有误，请重新输入！</h2>
    <router-link tag="button" to="/">点击返回首页</router-link>
    <button @click="goCart">点击查看购物车</button>
  </div>
</template>

<script>
export default {
  methods:{
      goCart(){
          this.$router.push('/cart')
      }
  }
}
</script>

<style scoped>

</style>
